<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Popup.aspx.cs" Inherits="Pages_Popup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />  
</head>
<body onload="CheckTimeOut();">
    <form id="form1" runat="server">
     <script src="<%=Business.Config.ApplicationUrl %>resources/js/admin/VTCUtils.js"
        type="text/javascript">
    </script>

    <script src="<%=Business.Config.ApplicationUrl %>resources/js/admin/Common.js" type="text/javascript">
    </script>   
    <link rel="stylesheet" href="<%=Business.Config.ApplicationUrl %>resources/css/screen.css"
        type="text/css" media="screen" title="default" />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>    
    <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <script type="text/javascript">
    var page = Sys.WebForms.PageRequestManager.getInstance();
    page.add_beginRequest(BeginRequestHandler);
    page.add_endRequest(EndRequestHandler);

    function BeginRequestHandler(sender, args) {
      
    }
    function EndRequestHandler(sender, args) {      
   
    }      
    CheckTimeOut=function()
    {
    var flag=$control('<%=HiddenField1.ClientID %>').value;
    if(flag=='1')
    {
        parent.timeOutPage();
    }
    }
</script>


    </form>
</body>
</html>
